package club.sanmubird.travel_culture_wx_demo.global.config;

/**
 * @program: travel_culture_wx_demo
 * @description: 从配置文件中定义自定义属性
 * @author: sam
 * @create: 2018-08-05 20:17
 * @update: 2018-08-05 20:17
 * @update: Sam
 **/

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "sourcepath")
@PropertySource("classpath:define.properties")
@Data
public class PropertiesConfig {

	private String imgBasePath;
	private String audioBasePath;
}
